.class public Lcom/xingbook/ui/b/j;
.super Lcom/xingbook/ui/b/a;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/view/View$OnTouchListener;
.implements Lcom/xingbook/ui/overclass/b;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field private A:Landroid/widget/ImageView;

.field private B:Landroid/widget/ImageView;

.field private C:Landroid/widget/TextView;

.field private D:[[Lcom/xingbook/ui/overclass/f;

.field private E:Ljava/util/ArrayList;

.field private F:Lcom/xingbook/ui/overclass/PinGallery;

.field private G:Ljava/util/Vector;

.field private H:Lcom/xingbook/ui/overclass/f;

.field private I:Landroid/view/animation/AlphaAnimation;

.field private J:I

.field private K:I

.field n:Ljava/util/ArrayList;

.field public o:I

.field public p:Landroid/widget/BaseAdapter;

.field private q:Landroid/graphics/Bitmap;

.field private r:Landroid/view/View;

.field private s:Lcn/a/a/d/a;

.field private t:Landroid/widget/LinearLayout;

.field private u:[[I

.field private v:I

.field private w:I

.field private x:Landroid/widget/ImageView;

.field private y:[Landroid/widget/TextView;

.field private z:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/c/o;Lcom/xingbook/d/d;)V
    .locals 3

    const/4 v0, 0x2

    invoke-direct {p0, p1, p2, p3}, Lcom/xingbook/ui/b/a;-><init>(Landroid/app/Activity;Lcom/xingbook/c/o;Lcom/xingbook/d/d;)V

    iput v0, p0, Lcom/xingbook/ui/b/j;->v:I

    iput v0, p0, Lcom/xingbook/ui/b/j;->w:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->E:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/ui/b/j;->o:I

    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->G:Ljava/util/Vector;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    sget v0, Lcom/xingbook/c/e;->d:I

    iput v0, p0, Lcom/xingbook/ui/b/j;->J:I

    sget v0, Lcom/xingbook/c/e;->c:I

    iput v0, p0, Lcom/xingbook/ui/b/j;->K:I

    new-instance v0, Lcom/xingbook/ui/b/k;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/b/k;-><init>(Lcom/xingbook/ui/b/j;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->p:Landroid/widget/BaseAdapter;

    new-instance v0, Landroid/view/animation/AlphaAnimation;

    const/high16 v1, 0x3f00

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->I:Landroid/view/animation/AlphaAnimation;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->I:Landroid/view/animation/AlphaAnimation;

    const-wide/16 v1, 0xbb8

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;->setDuration(J)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->I:Landroid/view/animation/AlphaAnimation;

    new-instance v1, Lcom/xingbook/ui/b/l;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/b/l;-><init>(Lcom/xingbook/ui/b/j;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AlphaAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/b/j;)[Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic b(Lcom/xingbook/ui/b/j;)[[I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->u:[[I

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/ui/b/j;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/ui/b/j;)Lcn/a/a/d/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/ui/b/j;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->r:Landroid/view/View;

    return-object v0
.end method

.method private e(I)V
    .locals 6

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->G:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->G:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->clear()V

    :cond_0
    const/4 v0, 0x0

    move v1, v0

    :goto_0
    if-lt v1, p1, :cond_1

    return-void

    :cond_1
    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v2

    int-to-double v4, p1

    mul-double/2addr v2, v4

    double-to-int v0, v2

    :goto_1
    iget-object v2, p0, Lcom/xingbook/ui/b/j;->G:Ljava/util/Vector;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/util/Vector;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->G:Ljava/util/Vector;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v2

    int-to-double v4, p1

    mul-double/2addr v2, v4

    double-to-int v0, v2

    goto :goto_1
.end method

.method private n()V
    .locals 12

    const/16 v11, 0x11

    const/16 v10, 0xa

    const/4 v9, -0x2

    const/4 v8, 0x1

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->k:Lcn/a/a/c/a;

    check-cast v0, Lcn/a/a/c/f;

    invoke-virtual {v0}, Lcn/a/a/c/f;->o()I

    move-result v2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->k:Lcn/a/a/c/a;

    check-cast v0, Lcn/a/a/c/f;

    invoke-virtual {v0}, Lcn/a/a/c/f;->o()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->r:Landroid/view/View;

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->d:Lcom/xingbook/d/a;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->r:Landroid/view/View;

    check-cast v0, Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->getmBaseItem()Lcn/a/a/b/b;

    move-result-object v0

    check-cast v0, Lcn/a/a/b/g;

    invoke-virtual {v0}, Lcn/a/a/b/g;->a()I

    move-result v0

    invoke-virtual {v3, v0}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->q:Landroid/graphics/Bitmap;

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/b/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/o;

    const/16 v3, 0xb4

    invoke-virtual {v0, v3}, Lcom/xingbook/ui/a/o;->setAlpha(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->g:Lcom/xingbook/c/e;

    invoke-virtual {v0}, Lcom/xingbook/c/e;->b()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->g:Lcom/xingbook/c/e;

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/b/j;->b(I)Lcn/a/a/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcn/a/a/b/b;->d()Lcn/a/a/d/d;

    move-result-object v2

    invoke-virtual {v2}, Lcn/a/a/d/d;->a()Lcn/a/a/d/a;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/xingbook/c/e;->a(Lcn/a/a/d/a;)Lcn/a/a/d/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    :goto_0
    new-instance v0, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->x:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->x:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v2, v2, Lcn/a/a/d/a;->c:I

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->d:I

    iget-object v4, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v4, v4, Lcn/a/a/d/a;->c:I

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v5, Lcn/a/a/d/a;->a:I

    add-int/2addr v4, v5

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v5, Lcn/a/a/d/a;->d:I

    iget-object v6, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v6, v6, Lcn/a/a/d/a;->b:I

    add-int/2addr v5, v6

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->x:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/ui/overclass/PinGallery;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Lcom/xingbook/ui/overclass/PinGallery;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    const/16 v2, 0x14

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/overclass/PinGallery;->setSpacing(I)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->r()V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    invoke-virtual {v0, p0}, Lcom/xingbook/ui/overclass/PinGallery;->setDragOutListener(Lcom/xingbook/ui/overclass/b;)V

    new-instance v0, Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v11}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v2, v2, Lcn/a/a/d/a;->c:I

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->d:I

    iget-object v4, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v4, v4, Lcn/a/a/d/a;->c:I

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v5, Lcn/a/a/d/a;->a:I

    add-int/2addr v4, v5

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v5, Lcn/a/a/d/a;->d:I

    iget-object v6, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v6, v6, Lcn/a/a/d/a;->b:I

    add-int/2addr v5, v6

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/LinearLayout;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v9, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    new-instance v2, Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v2, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v8}, Landroid/widget/ImageView;->setId(I)V

    const v3, 0x7f020111

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    invoke-virtual {v2, p0}, Landroid/widget/ImageView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v2, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v8}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->k:Lcn/a/a/c/a;

    check-cast v0, Lcn/a/a/c/f;

    invoke-virtual {v0}, Lcn/a/a/c/f;->n()[[I

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->u:[[I

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->u:[[I

    array-length v0, v0

    new-array v0, v0, [Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v9, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput v10, v3, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    new-instance v4, Lcom/xingbook/ui/b/m;

    invoke-direct {v4, p0}, Lcom/xingbook/ui/b/m;-><init>(Lcom/xingbook/ui/b/j;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->u:[[I

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->u:[[I

    array-length v0, v0

    if-lez v0, :cond_0

    move v0, v1

    :goto_1
    iget-object v5, p0, Lcom/xingbook/ui/b/j;->u:[[I

    array-length v5, v5

    if-lt v0, v5, :cond_7

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v0, v0, v1

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->u:[[I

    aget-object v0, v0, v1

    aget v0, v0, v1

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->u:[[I

    aget-object v3, v3, v1

    aget v3, v3, v8

    invoke-virtual {p0, v0, v3}, Lcom/xingbook/ui/b/j;->d(II)V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->a()V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->a:I

    invoke-direct {v0, v3, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v3, 0x3

    iput v3, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v2, v2, Lcn/a/a/d/a;->a:I

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->b:I

    invoke-virtual {v0, v2, v3}, Landroid/widget/LinearLayout;->measure(II)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v2, v2, Lcn/a/a/d/a;->c:I

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->d:I

    iget-object v4, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v4, v4, Lcn/a/a/d/a;->c:I

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v5, Lcn/a/a/d/a;->a:I

    add-int/2addr v4, v5

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v5, Lcn/a/a/d/a;->d:I

    iget-object v6, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v6, v6, Lcn/a/a/d/a;->b:I

    add-int/2addr v5, v6

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/LinearLayout;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    if-nez v0, :cond_1

    new-instance v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    const/high16 v2, 0x4160

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    invoke-virtual {v0, v11}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    const v2, 0x7f0202c3

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setBackgroundResource(I)V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->k:Lcn/a/a/c/a;

    check-cast v0, Lcn/a/a/c/f;

    invoke-virtual {v0}, Lcn/a/a/c/f;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    const/16 v2, 0x14

    invoke-virtual {v0, v10, v2}, Landroid/widget/TextView;->measure(II)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/ui/b/j;->K:I

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v3

    sub-int/2addr v2, v3

    div-int/lit8 v2, v2, 0x2

    iget v3, p0, Lcom/xingbook/ui/b/j;->K:I

    iget v4, p0, Lcom/xingbook/ui/b/j;->K:I

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    invoke-virtual {v5}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v5

    sub-int/2addr v4, v5

    div-int/lit8 v4, v4, 0x2

    sub-int/2addr v3, v4

    iget-object v4, p0, Lcom/xingbook/ui/b/j;->C:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v4

    invoke-virtual {v0, v2, v1, v3, v4}, Landroid/widget/TextView;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    if-nez v0, :cond_2

    new-instance v0, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    const/16 v2, 0x42

    const/16 v3, 0x42

    invoke-virtual {v0, v10, v10, v2, v3}, Landroid/widget/ImageView;->layout(IIII)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    if-nez v0, :cond_3

    new-instance v0, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    iget v2, p0, Lcom/xingbook/ui/b/j;->K:I

    add-int/lit8 v2, v2, -0x42

    iget v3, p0, Lcom/xingbook/ui/b/j;->K:I

    add-int/lit8 v3, v3, -0xa

    const/16 v4, 0x42

    invoke-virtual {v0, v2, v10, v3, v4}, Landroid/widget/ImageView;->layout(IIII)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    if-nez v0, :cond_4

    new-instance v0, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    const v2, 0x7f0202c0

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    iget v2, p0, Lcom/xingbook/ui/b/j;->K:I

    add-int/lit8 v2, v2, -0x42

    const/16 v3, 0x4c

    iget v4, p0, Lcom/xingbook/ui/b/j;->K:I

    add-int/lit8 v4, v4, -0xa

    const/16 v5, 0x84

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/ImageView;->layout(IIII)V

    :cond_4
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v8}, Landroid/widget/ImageView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    const/4 v1, 0x6

    if-eq v0, v1, :cond_5

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    const/16 v1, 0x8

    if-ne v0, v1, :cond_8

    :cond_5
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    const v1, 0x7f020130

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    const v1, 0x7f020138

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :goto_2
    return-void

    :cond_6
    invoke-virtual {p0, v2}, Lcom/xingbook/ui/b/j;->b(I)Lcn/a/a/b/b;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/b/b;->d()Lcn/a/a/d/d;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/d;->a()Lcn/a/a/d/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    goto/16 :goto_0

    :cond_7
    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    new-instance v6, Landroid/widget/TextView;

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v6, v7}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    aput-object v6, v5, v0

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    const v6, 0x7f0202c7

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setBackgroundResource(I)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    const/high16 v6, 0x41a0

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    const/4 v6, -0x1

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    new-instance v6, Ljava/lang/StringBuilder;

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->u:[[I

    aget-object v7, v7, v0

    aget v7, v7, v1

    invoke-static {v7}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, "x"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->u:[[I

    aget-object v7, v7, v0

    aget v7, v7, v8

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    invoke-virtual {v5, v11}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v5, p0, Lcom/xingbook/ui/b/j;->y:[Landroid/widget/TextView;

    aget-object v5, v5, v0

    invoke-virtual {v2, v5, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_1

    :cond_8
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    const v1, 0x7f02004a

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    const v1, 0x7f020047

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_2
.end method

.method private o()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->r:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->r:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->I:Landroid/view/animation/AlphaAnimation;

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method

.method private p()V
    .locals 2

    iget v0, p0, Lcom/xingbook/ui/b/j;->v:I

    iget v1, p0, Lcom/xingbook/ui/b/j;->w:I

    filled-new-array {v0, v1}, [I

    move-result-object v0

    const-class v1, Lcom/xingbook/ui/overclass/f;

    invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[Lcom/xingbook/ui/overclass/f;

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->q()V

    return-void
.end method

.method private q()V
    .locals 10

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    iget v2, p0, Lcom/xingbook/ui/b/j;->v:I

    div-int v3, v0, v2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    iget v2, p0, Lcom/xingbook/ui/b/j;->w:I

    div-int v4, v0, v2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v5, v0, Lcn/a/a/d/a;->d:I

    move v0, v1

    :goto_0
    iget v2, p0, Lcom/xingbook/ui/b/j;->w:I

    if-lt v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->E:Ljava/util/ArrayList;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/b/j;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->p:Landroid/widget/BaseAdapter;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/overclass/PinGallery;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/overclass/PinGallery;->setSelection(I)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->r()V

    return-void

    :cond_0
    move v2, v1

    :goto_1
    iget v6, p0, Lcom/xingbook/ui/b/j;->v:I

    if-lt v2, v6, :cond_1

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    iget-object v6, p0, Lcom/xingbook/ui/b/j;->q:Landroid/graphics/Bitmap;

    mul-int v7, v3, v2

    mul-int v8, v4, v0

    invoke-static {v6, v7, v8, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;

    move-result-object v6

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v7, v7, v2

    new-instance v8, Lcom/xingbook/ui/overclass/f;

    iget-object v9, p0, Lcom/xingbook/ui/b/j;->a:Landroid/content/Context;

    invoke-direct {v8, v9, v6, v3, v4}, Lcom/xingbook/ui/overclass/f;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;II)V

    aput-object v8, v7, v0

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v7, v7, v2

    aget-object v7, v7, v0

    sget-object v8, Landroid/widget/ImageView$ScaleType;->FIT_CENTER:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v7, v8}, Lcom/xingbook/ui/overclass/f;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v7, v7, v2

    aget-object v7, v7, v0

    const/4 v8, 0x1

    invoke-virtual {v7, v8}, Lcom/xingbook/ui/overclass/f;->setAdjustViewBounds(Z)V

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v7, v7, v2

    aget-object v7, v7, v0

    iget v8, p0, Lcom/xingbook/ui/b/j;->J:I

    iget-object v9, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v9, v9, Lcn/a/a/d/a;->d:I

    sub-int/2addr v8, v9

    iget-object v9, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v9, v9, Lcn/a/a/d/a;->b:I

    sub-int/2addr v8, v9

    add-int/lit8 v8, v8, -0x9

    invoke-virtual {v7, v8}, Lcom/xingbook/ui/overclass/f;->setMaxHeight(I)V

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v7, v7, v2

    aget-object v7, v7, v0

    invoke-virtual {v7, v6}, Lcom/xingbook/ui/overclass/f;->setImageBitmap(Landroid/graphics/Bitmap;)V

    mul-int v6, v3, v2

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v7, v7, Lcn/a/a/d/a;->c:I

    add-int/2addr v6, v7

    mul-int v7, v4, v0

    add-int/2addr v7, v5

    iget-object v8, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v8, v8, v2

    aget-object v8, v8, v0

    new-instance v9, Lcom/xingbook/ui/overclass/d;

    invoke-direct {v9, v6, v7}, Lcom/xingbook/ui/overclass/d;-><init>(II)V

    invoke-virtual {v8, v9}, Lcom/xingbook/ui/overclass/f;->setImageInitLocation(Lcom/xingbook/ui/overclass/d;)V

    iget-object v6, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v6, v6, v2

    aget-object v6, v6, v0

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/overclass/f;->setTouchedListener(Lcom/xingbook/ui/overclass/e;)V

    iget-object v6, p0, Lcom/xingbook/ui/b/j;->E:Ljava/util/ArrayList;

    iget-object v7, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v7, v7, v2

    aget-object v7, v7, v0

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_1
.end method

.method private r()V
    .locals 5

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    iget v1, p0, Lcom/xingbook/ui/b/j;->K:I

    iget v2, p0, Lcom/xingbook/ui/b/j;->J:I

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/overclass/PinGallery;->measure(II)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->F:Lcom/xingbook/ui/overclass/PinGallery;

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v1, v1, Lcn/a/a/d/a;->c:I

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v2, v2, Lcn/a/a/d/a;->d:I

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->b:I

    add-int/2addr v2, v3

    add-int/lit8 v2, v2, 0x5

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v3, v3, Lcn/a/a/d/a;->c:I

    iget-object v4, p0, Lcom/xingbook/ui/b/j;->s:Lcn/a/a/d/a;

    iget v4, v4, Lcn/a/a/d/a;->a:I

    add-int/2addr v3, v4

    iget v4, p0, Lcom/xingbook/ui/b/j;->J:I

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/xingbook/ui/overclass/PinGallery;->layout(IIII)V

    return-void
.end method

.method private s()V
    .locals 1

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/ui/b/j;->o:I

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->E:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->p:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->r()V

    return-void
.end method

.method private t()V
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    iget v2, p0, Lcom/xingbook/ui/b/j;->w:I

    if-lt v0, v2, :cond_1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    :cond_0
    return-void

    :cond_1
    move v2, v1

    :goto_1
    iget v3, p0, Lcom/xingbook/ui/b/j;->v:I

    if-lt v2, v3, :cond_2

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    iget-object v3, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v3, v3, v2

    aget-object v3, v3, v0

    if-eqz v3, :cond_3

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->D:[[Lcom/xingbook/ui/overclass/f;

    aget-object v3, v3, v2

    aget-object v3, v3, v0

    invoke-virtual {v3}, Lcom/xingbook/ui/overclass/f;->a()V

    :cond_3
    add-int/lit8 v2, v2, 0x1

    goto :goto_1
.end method


# virtual methods
.method public a()V
    .locals 10

    new-instance v5, Landroid/graphics/Paint;

    invoke-direct {v5}, Landroid/graphics/Paint;-><init>()V

    const/4 v0, 0x1

    invoke-virtual {v5, v0}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    const/4 v0, 0x1

    invoke-virtual {v5, v0}, Landroid/graphics/Paint;->setDither(Z)V

    const/high16 v0, 0x4000

    invoke-virtual {v5, v0}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    new-instance v0, Landroid/graphics/EmbossMaskFilter;

    const/4 v1, 0x3

    new-array v1, v1, [F

    fill-array-data v1, :array_0

    const v2, 0x3ecccccd

    const/high16 v3, 0x40c0

    const/high16 v4, 0x4060

    invoke-direct {v0, v1, v2, v3, v4}, Landroid/graphics/EmbossMaskFilter;-><init>([FFFF)V

    invoke-virtual {v5, v0}, Landroid/graphics/Paint;->setMaskFilter(Landroid/graphics/MaskFilter;)Landroid/graphics/MaskFilter;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v7

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v8

    sget-object v0, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v7, v8, v0}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v9

    new-instance v0, Landroid/graphics/Canvas;

    invoke-direct {v0, v9}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    const/4 v1, 0x0

    move v6, v1

    :goto_0
    iget v1, p0, Lcom/xingbook/ui/b/j;->w:I

    if-le v6, v1, :cond_0

    const/4 v1, 0x0

    move v6, v1

    :goto_1
    iget v1, p0, Lcom/xingbook/ui/b/j;->v:I

    if-le v6, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->x:Landroid/widget/ImageView;

    invoke-virtual {v0, v9}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->x:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void

    :cond_0
    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f070019

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v5, v1}, Landroid/graphics/Paint;->setColor(I)V

    const/4 v1, 0x0

    iget v2, p0, Lcom/xingbook/ui/b/j;->w:I

    div-int v2, v8, v2

    mul-int/2addr v2, v6

    int-to-float v2, v2

    int-to-float v3, v7

    iget v4, p0, Lcom/xingbook/ui/b/j;->w:I

    div-int v4, v8, v4

    mul-int/2addr v4, v6

    int-to-float v4, v4

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f07001a

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v5, v1}, Landroid/graphics/Paint;->setColor(I)V

    const/4 v1, 0x0

    iget v2, p0, Lcom/xingbook/ui/b/j;->w:I

    div-int v2, v8, v2

    mul-int/2addr v2, v6

    add-int/lit8 v2, v2, 0x2

    int-to-float v2, v2

    int-to-float v3, v7

    iget v4, p0, Lcom/xingbook/ui/b/j;->w:I

    div-int v4, v8, v4

    mul-int/2addr v4, v6

    add-int/lit8 v4, v4, 0x2

    int-to-float v4, v4

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    add-int/lit8 v1, v6, 0x1

    move v6, v1

    goto :goto_0

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f070019

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v5, v1}, Landroid/graphics/Paint;->setColor(I)V

    iget v1, p0, Lcom/xingbook/ui/b/j;->v:I

    div-int v1, v7, v1

    mul-int/2addr v1, v6

    int-to-float v1, v1

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/ui/b/j;->v:I

    div-int v3, v7, v3

    mul-int/2addr v3, v6

    int-to-float v3, v3

    int-to-float v4, v8

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f07001a

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v5, v1}, Landroid/graphics/Paint;->setColor(I)V

    iget v1, p0, Lcom/xingbook/ui/b/j;->v:I

    div-int v1, v7, v1

    mul-int/2addr v1, v6

    add-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/ui/b/j;->v:I

    div-int v3, v7, v3

    mul-int/2addr v3, v6

    add-int/lit8 v3, v3, 0x2

    int-to-float v3, v3

    int-to-float v4, v8

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    add-int/lit8 v1, v6, 0x1

    move v6, v1

    goto/16 :goto_1

    nop

    :array_0
    .array-data 0x4
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
    .end array-data
.end method

.method public a(Lcn/a/a/c/a;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/xingbook/ui/b/a;->a(Lcn/a/a/c/a;)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->n()V

    return-void
.end method

.method public a(Ljava/lang/Object;IIII)V
    .locals 2

    check-cast p1, Lcom/xingbook/ui/overclass/f;

    iput-object p1, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    if-lez p4, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/overclass/f;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    invoke-virtual {v0, p4, p5}, Lcom/xingbook/ui/overclass/f;->a(II)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->p:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->r()V

    :cond_0
    return-void
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    :cond_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-direct {p0, v2}, Lcom/xingbook/ui/b/j;->e(I)V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    if-lt v1, v2, :cond_1

    return-void

    :cond_1
    iget-object v3, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->G:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/overclass/f;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public a(Landroid/view/MotionEvent;)Z
    .locals 4

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    if-eqz v1, :cond_0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v2

    float-to-int v2, v2

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    iget-object v3, v3, Lcom/xingbook/ui/overclass/f;->b:Landroid/graphics/RectF;

    int-to-float v1, v1

    int-to-float v2, v2

    invoke-virtual {v3, v1, v2}, Landroid/graphics/RectF;->contains(FF)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    iget-object v1, v1, Lcom/xingbook/ui/overclass/f;->a:Lcom/xingbook/ui/overclass/d;

    iget v1, v1, Lcom/xingbook/ui/overclass/d;->a:I

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    iget-object v2, v2, Lcom/xingbook/ui/overclass/f;->a:Lcom/xingbook/ui/overclass/d;

    iget v2, v2, Lcom/xingbook/ui/overclass/d;->b:I

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/overclass/f;->c(II)V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->b()V

    invoke-virtual {p0}, Lcom/xingbook/ui/b/j;->m()V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->f:Lcom/xingbook/c/a;

    const/4 v1, 0x6

    invoke-virtual {v0, v1}, Lcom/xingbook/c/a;->a(I)V

    :goto_0
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    const/4 v0, 0x1

    :cond_0
    return v0

    :cond_1
    iget-object v1, p0, Lcom/xingbook/ui/b/j;->f:Lcom/xingbook/c/a;

    const/4 v2, 0x5

    invoke-virtual {v1, v2}, Lcom/xingbook/c/a;->a(I)V

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    invoke-virtual {v1}, Lcom/xingbook/ui/overclass/f;->a()V

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/overclass/f;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->p:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->r()V

    goto :goto_0
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->n:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->p:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->r()V

    return-void
.end method

.method public b(Landroid/view/MotionEvent;)Z
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v2

    float-to-int v2, v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/overclass/f;->b(II)V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method d(II)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/b/j;->w:I

    iput p2, p0, Lcom/xingbook/ui/b/j;->v:I

    return-void
.end method

.method public getmSelectedImage()Lcom/xingbook/ui/overclass/f;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->H:Lcom/xingbook/ui/overclass/f;

    return-object v0
.end method

.method public h()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/b/a;->h()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->t()V

    return-void
.end method

.method public k()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public m()V
    .locals 4

    const/4 v0, 0x0

    iget v1, p0, Lcom/xingbook/ui/b/j;->o:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/xingbook/ui/b/j;->o:I

    iget v1, p0, Lcom/xingbook/ui/b/j;->o:I

    iget v2, p0, Lcom/xingbook/ui/b/j;->v:I

    iget v3, p0, Lcom/xingbook/ui/b/j;->w:I

    mul-int/2addr v2, v3

    if-ne v1, v2, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->f:Lcom/xingbook/c/a;

    const/4 v2, 0x7

    invoke-virtual {v1, v2}, Lcom/xingbook/c/a;->a(I)V

    iput v0, p0, Lcom/xingbook/ui/b/j;->o:I

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->s()V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->t()V

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->r:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/ui/b/j;->d:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/a;->f()[Lcn/a/a/c/a;

    move-result-object v2

    move v1, v0

    :goto_0
    array-length v0, v2

    if-lt v1, v0, :cond_1

    :cond_0
    return-void

    :cond_1
    aget-object v0, v2, v1

    iget-object v3, p0, Lcom/xingbook/ui/b/j;->k:Lcn/a/a/c/a;

    if-ne v0, v3, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->e:Lcom/xingbook/d/d;

    check-cast v0, Lcom/xingbook/ui/c/b;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/c/b;->setGameSelectedMark(I)V

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_1

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->o()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->A:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    const/4 v1, 0x6

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    const/16 v1, 0x8

    if-ne v0, v1, :cond_4

    :cond_2
    invoke-static {}, Lcom/xingbook/park/activity/ReadingAct;->a()Lcom/xingbook/park/activity/ReadingAct;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-static {}, Lcom/xingbook/park/activity/ReadingAct;->a()Lcom/xingbook/park/activity/ReadingAct;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/park/activity/ReadingAct;->a(I)V

    :cond_3
    invoke-static {}, Lcom/xingbook/park/activity/BCViewAct;->a()Lcom/xingbook/park/activity/BCViewAct;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/xingbook/park/activity/BCViewAct;->a()Lcom/xingbook/park/activity/BCViewAct;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/activity/BCViewAct;->b()V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->e:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->c()V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/xingbook/ui/b/j;->B:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->e:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->b()V

    goto :goto_0
.end method

.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 5

    const/16 v4, 0xff

    const/16 v3, 0x64

    const/4 v1, 0x1

    const/4 v0, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    if-ne v2, v1, :cond_0

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v2

    packed-switch v2, :pswitch_data_0

    check-cast p1, Landroid/widget/ImageView;

    invoke-static {p1, v3}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    :goto_0
    move v0, v1

    :cond_0
    return v0

    :pswitch_0
    check-cast p1, Landroid/widget/ImageView;

    invoke-static {p1, v3}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :pswitch_1
    check-cast p1, Landroid/widget/ImageView;

    invoke-static {p1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->f:Lcom/xingbook/c/a;

    invoke-virtual {v2, v0}, Lcom/xingbook/c/a;->a(I)V

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v2, p0, Lcom/xingbook/ui/b/j;->z:Landroid/widget/ImageView;

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->t:Landroid/widget/LinearLayout;

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/j;->k:Lcn/a/a/c/a;

    check-cast v0, Lcn/a/a/c/f;

    invoke-virtual {v0}, Lcn/a/a/c/f;->o()I

    move-result v2

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/b/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/a/o;

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/a/o;->setAlpha(I)V

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/b/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v2, 0x4

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-direct {p0}, Lcom/xingbook/ui/b/j;->p()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    invoke-virtual {p0, p1}, Lcom/xingbook/ui/b/j;->a(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    invoke-virtual {p0, p1}, Lcom/xingbook/ui/b/j;->b(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
